<!-- /pages/index/index.vue -->
<template>
    <view class="content">
        <form @submit="login">
            用户名：<input type="text" name="username">
			密码：<input type="text" name="password">
            <button form-type="submit">登录</button>
        </form>
    </view>
</template>

<script>
    export default {
        data() {
            return {
				
            }
        },
        methods: {
            login(e) {
                console.log(e)
            }
        }
    }
</script>
